import Mock from 'mockjs'

Mock.setup({
    timeout: 1000
})

Mock.mock('/api/getList', {
    list: [
        {
            key: '1',
            name: '前端',
            short: 'frontEnd',
            count: 10
        },
        {
            key: '2',
            name: '后端',
            short: 'backEnd',
            count: 5
        },
        {
            key: '3',
            name: '数据库',
            short: 'database',
            count: 8
        }
    ]
})